﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Dracham.MapEditor
{
    public partial class frmSpecifyZone : Form
    {
        public Int32 SelectedWidth { get; private set; }
        public Int32 SelectedHeight { get; private set; }
        new public String Name { get; private set; }
        public String Id { get; private set; }
        public String EnterZoneText { get; private set; }

        public frmSpecifyZone()
        {
            InitializeComponent();
        }

        private void btnOkey_Click(object sender, EventArgs e)
        {
            this.SelectedWidth = (Int32)nudWidth.Value;
            this.SelectedHeight = (Int32)nudHeight.Value;
            this.Name = txtName.Text;
            this.Id = txtId.Text;
            this.EnterZoneText = txtEnterText.Text;

            this.DialogResult = DialogResult.OK;
        }

        private void txtId_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
